<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>实验中心级别字典</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
		<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="consumeMeterialDictController.do?doUpdate" tiptype="3" >
		<input id="id" name="id" type="hidden" value="${meterial.id }"> 
		<table style="" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							耗材名称:
						</label>
					</td>
					<td class="value">
					     	<input id="name" name="name" type="text" style="width: 150px" 
					     	class="inputxt" maxlength="80" value="${meterial.name }" datatype="*">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">耗材名称</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							型号:
						</label>
					</td>
					<td class="value">
				     	 <input id="py" name="model" type="text" style="width: 150px" class="inputxt" maxlength="80" value="${meterial.model}" >
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							编号:
						</label>
					</td>
					<td class="value">
				     	 <input id="py" name="num" type="text" style="width: 150px" class="inputxt" maxlength="80" value="${meterial.num }" >
					</td>
				</tr> 
				<tr>
					<td align="right">
						<label class="Validform_label">
							简拼:
						</label>
					</td>
					<td class="value">
					     	 <input id="py" name="py" type="text" style="width: 150px" 
					     	 class="inputxt" maxlength="80" value="${meterial.py}">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">简拼</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							单位:
						</label>
					</td>
					<td class="value">
					     	 <input id="unit" name="unit" type="text" style="width: 150px" 
					     	 class="inputxt" maxlength="80" value="${meterial.unit}" datatype="*">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">单位</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							有效天数:
						</label>
					</td>
					<td class="value">
					     	<input id="expiredDay" name="expiredDay" maxlength="5" type="text" value="${meterial.expiredDay}"
					     	style="width: 150px" class="inputxt" onkeyup="this.value=this.value.replace(/\D/g,'')">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">有效天数</label>
					</td>
				</tr>
			</table>
		</t:formvalid>
 </body>
 